import { action, observable } from 'mobx'

class global{
  @observable
  isShow = false;

  @action
  showLoading() {
    this.isShow = true;
  }
  @action 
  hideLoading(){
      this.isShow = false;
  }
}
export default global;